package com.yt.app.core.interfaces;

import com.yt.app.core.model.UserOrderDetail;
import com.yt.core.service.GenericService;

import java.util.List;

public interface UserOrderDetailService extends GenericService<UserOrderDetail, Long> {
    List<UserOrderDetail> getByOrderId(Long userOrderId);

    UserOrderDetail getByCardNoAndPwd(String cardNo, String pwd);

    UserOrderDetail getByCardNo(String cardNo);

    List<UserOrderDetail> getValidDetailListByUid(Long uid, Long lastId, Integer limit);
}